#pragma once

#include <cstdint>
#include <unordered_map>
#include <mutex>

class PlayerCountManager
{
private:
	std::recursive_mutex m_mutex;
	std::unordered_map<uint32_t, int32_t> m_player_count;

public:
	PlayerCountManager(void);
	~PlayerCountManager(void);

public:
	void Clear(void);
	uint32_t GetMinPlayerCountSceneId(void);
	void UpdatePlayerCount(uint32_t, int32_t);

};